package com.deng.api.mapper;

import com.deng.api.entity.CloudDepartment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author deng
 * @since 2022-08-10
 */
public interface CloudDepartmentMapper extends BaseMapper<CloudDepartment> {
    List<CloudDepartment> getDeptAll(@Param("page") Integer page,@Param("size") Integer size,
                                     @Param("name") String name);
    Integer getCount();
}
